package com.acwer.drgs.performance.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel(value = "字段信息")
@AllArgsConstructor
@NoArgsConstructor
public class FieldInfo {

    @ApiModelProperty("字段名")
    private String col;

    @ApiModelProperty("字段显示的名称")
    private String name;
    //是否是主键
    @ApiModelProperty("是主键")
    private boolean isPrimaryKey;

    @ApiModelProperty("显示顺序")
    private Integer order;


    @ApiModelProperty("类型")
    private String fieldType;

    @ApiModelProperty("是否显示在列表当中")
    private Boolean ls=true;

    @ApiModelProperty("备用字段1")
    private String c1;

    @ApiModelProperty("元数据信息")
    private String meta;
}
